# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=xcompmgr
pkgver=1.1.8
pkgrel=0
pkgdesc="Composite Window-effects manager for X.org"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
makedepends="libxcomposite-dev libxdamage-dev libxrender-dev libxext-dev"
subpackages="$pkgname-doc"
source="https://xorg.freedesktop.org/releases/individual/app/xcompmgr-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
974a49317a41c9c0e8c143bca9853c9164169b28fb6b22181cdde4b95bc7fd8ebaa2f4e6351774d6e6c2dc5a680a9e453322d0cf08d53f8abeae82893334c46d  xcompmgr-1.1.8.tar.gz
"
